package com.william.jdbcplus.test.entity;

import com.william.jdbcplus.common.annotation.TableColumn;
import com.william.jdbcplus.common.annotation.TableId;
import com.william.jdbcplus.common.annotation.Table;
import com.william.jdbcplus.common.entity.Entity;
import com.william.jdbcplus.common.enums.IdType;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author niliwei
 */
@Data
@NoArgsConstructor
@Table("db_dict")
@ApiModel("字典表")
public class DbDict implements Entity {

    @TableId(type = IdType.GUID)
    private String id;

    @TableColumn(remarks = "预留字段")
    private Integer type;

    @TableColumn(remarks = "字典名称")
    private String dictName;

    @TableColumn(remarks = "字典编码")
    private String dictCode;

    @TableColumn(remarks = "描述")
    private String description;

}
